package com.yurui.proxy.jdk;

public class RealHouseSubject implements HouseSubject{
    @Override
    public void rentHouse() {
        //打印我是房东，我要出租房子
        System.out.println("I am the landlord,I want to rent a house");
    }

    @Override
    public void buyHouse() {
        //打印我要买房子
        System.out.println("I want to buy a house");
    }

    @Override
    public double sellHouse() {
        return 1000000;
    }
}
